예제 #1
0
 public RoleData(Entity owner) : base(owner)
 {
     m_BaseData       = new RoleBaseData();
     m_StatusData     = new RoleStatusData();
     m_AppearanceData = new RoleAppearanceData();
     m_AppearanceData.basicAppearance = new BasicAppearance();
     m_EquipmentData = new RoleEquipmentData();
     // m_EquipmentData.helmetID = 4;
     // m_EquipmentData.torsoID = 24;
     // m_EquipmentData.handsID = 33;
     // m_EquipmentData.legsID = 34;
     // m_EquipmentData.hipsID = 35;
     // m_EquipmentData.shouldersID = 63;
     // m_EquipmentData.backID = 86;
     m_EquipmentData.weapon = 100;
 }
예제 #2
0
 public void SetAppearanceData(RoleAppearanceData data)
 {
     m_AppearanceData = data;
     RefeshAppearance();
     InitColor();
 }