public static IncredibleHulkStatuetteInfo GetInfo( IncredibleHulkStatuetteType type )
		{
			int v = (int)type;

			if ( v < 0 || v >= m_Table.Length )
				v = 0;

			return m_Table[v];
		}
Exemple #2
0
        public static IncredibleHulkStatuetteInfo GetInfo(IncredibleHulkStatuetteType type)
        {
            int v = (int)type;

            if (v < 0 || v >= m_Table.Length)
            {
                v = 0;
            }

            return(m_Table[v]);
        }
Exemple #3
0
        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;
				}
			}
		}