internal NpcGroup(long groupLeaderId, NpcGroupState initialState, Vector3D destination, NpcGroupType groupType, DateTime groupSpawnTime, NpcGroupArrivalObserver arrivalObserver) { GroupLeaderId = groupLeaderId; this.groupType = groupType; GroupSpawnTime = groupSpawnTime; ArrivalObserver = arrivalObserver; GroupState = initialState; Destination = destination; }
public string NpcgroupInfo(NpcGroupType groupType) { string str = ""; if (groupType < 0 || this.groupType == groupType) { str += "\n Type=" + groupType.ToString() + " State=" + GroupState.ToString(); } return(str); }
public string NpcGroupInfo(NpcGroupType groupType) { string str = ""; str += "total # of NPCs=" + npcGroups.Count; foreach (var npc in npcGroups) { str += npc.NpcgroupInfo(groupType); } return(str); }