public static IncredibleHulkStatuetteInfo GetInfo( IncredibleHulkStatuetteType type ) { int v = (int)type; if ( v < 0 || v >= m_Table.Length ) v = 0; return m_Table[v]; }
public static IncredibleHulkStatuetteInfo GetInfo(IncredibleHulkStatuetteType type) { int v = (int)type; if (v < 0 || v >= m_Table.Length) { v = 0; } return(m_Table[v]); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); switch (version) { case 0: { m_Type = (IncredibleHulkStatuetteType)reader.ReadEncodedInt(); m_TurnedOn = reader.ReadBool(); break; } } }
public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); switch ( version ) { case 0: { m_Type = (IncredibleHulkStatuetteType)reader.ReadEncodedInt(); m_TurnedOn = reader.ReadBool(); break; } } }