View Issue Details

IDProjectCategoryView StatusLast Update
0000555Gameplay + OpenGL[All Projects] Bugpublic2017-04-14 09:07
ReporterMajor Cooke 
Assigned ToGraf Zahl 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0000555: Cannot convert between...
DescriptionSeveral cases exist where there's absolutely no details on how to convert between some types.

  1. Name/String to StateLabel (both ways)
  2. Class<Actor> to String (one way -- string to class<actor> works)

If there is a way, an example would be greatly appreciated. I've attempted to do casting but it hasn't worked.

TagsNo tags attached.



Graf Zahl

Graf Zahl

2017-04-12 19:55

administrator   ~0001327

This is fully intentional for state names because the listed conversions are highly problematic.
The class name can be done but the name<->state thing is not that simple because the symbolic state labels are not just a simple name, they are a relatively complex description of a state, encoded into an integer.
Graf Zahl

Graf Zahl

2017-04-14 09:07

administrator   ~0001359

Class names can now be retrieved by calling type.GetClassName(), just like it was already working for objects.

Issue History

Date Modified Username Field Change
2017-04-09 16:59 Major Cooke New Issue
2017-04-12 19:55 Graf Zahl Status new => closed
2017-04-12 19:55 Graf Zahl Resolution open => not fixable
2017-04-12 19:55 Graf Zahl Note Added: 0001327
2017-04-12 19:55 Graf Zahl Assigned To => Graf Zahl
2017-04-12 19:55 Graf Zahl Status closed => new
2017-04-12 19:55 Graf Zahl Resolution not fixable => reopened
2017-04-14 09:07 Graf Zahl Status new => resolved
2017-04-14 09:07 Graf Zahl Resolution reopened => fixed
2017-04-14 09:07 Graf Zahl Note Added: 0001359