Exemplo n.º 1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            m_Squelch = reader.ReadBool();
            m_Type    = (StatutteType)reader.ReadInt();
        }
Exemplo n.º 2
0
        public static StatuetteInfo GetInfo(StatutteType type)
        {
            int v = (int)type;

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

            return(m_Info[v]);
        }
Exemplo n.º 3
0
 public VetStatuette(StatutteType type)
 {
     LootType = LootType.Blessed;
     m_Type   = type;
     Rebuild();
 }