public override string ToString() { return ("<PlayerModel>{" + "PlayerID: " + PlayerID + ", " + "Name: " + Name + ", " + "IsRejoining: " + IsRejoining + ", " + "EquippedWeaponItemModel: " + EquippedWeaponItemModel.ToString() + ", " + "EquippedOffHandItemModel: " + EquippedOffHandItemModel.ToString() + ", " + "EquippedArmorItemModel: " + EquippedArmorItemModel.ToString() + ", " + "CombatantModel: " + CombatantModel.ToString() + "}"); }
public override string ToString() { string alwaysDroppedItems = ""; if (AlwaysDroppedItemIDs != null) { alwaysDroppedItems = "[" + string.Join(",", AlwaysDroppedItemIDs) + "]"; } string output = "<NpcModel>{" + ", " + "ID: " + ID + ", " + "Name: " + Name + ", " + "NpcRole: " + NpcRole.ToString() + ", " + "NpcRace: " + NpcRace.ToString() + ", " + "NpcSize: " + NpcSize.ToString() + ", " + "RarityType: " + RarityType.ToString() + ", " + "CombatantModel: " + CombatantModel.ToString() + ", " + "AlwaysDroppedItemIDs: " + alwaysDroppedItems + "}"; return(output); }