本文整理汇总了C#中GameObjects.GameObjectList.Add方法的典型用法代码示例。如果您正苦于以下问题:C# GameObjectList.Add方法的具体用法?C# GameObjectList.Add怎么用?C# GameObjectList.Add使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GameObjects.GameObjectList
的用法示例。
在下文中一共展示了GameObjectList.Add方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetDiplomaticRelationDisplayListByFactionID
public GameObjectList GetDiplomaticRelationDisplayListByFactionID(int factionID)
{
GameObjectList list = new GameObjectList();
foreach (DiplomaticRelation relation in this.DiplomaticRelations.Values)
{
if (relation.RelationFaction1ID == factionID)
{
list.Add(new DiplomaticRelationDisplay(relation, relation.RelationFaction2String));
}
else if (relation.RelationFaction2ID == factionID)
{
list.Add(new DiplomaticRelationDisplay(relation, relation.RelationFaction1String));
}
}
return list;
}
示例2: GetSectionAIDetailList
public GameObjectList GetSectionAIDetailList()
{
GameObjectList list = new GameObjectList();
foreach (SectionAIDetail detail in this.SectionAIDetails.Values)
{
list.Add(detail);
}
return list;
}
示例3: GetTextMessageList
public GameObjectList GetTextMessageList()
{
GameObjectList list = new GameObjectList();
foreach (TextMessage message in this.TextMessages.Values)
{
list.Add(message);
}
return list;
}
示例4: GetTerrainDetailList
public GameObjectList GetTerrainDetailList()
{
GameObjectList list = new GameObjectList();
foreach (TerrainDetail detail in this.TerrainDetails.Values)
{
list.Add(detail);
}
return list;
}
示例5: GetConditionKindList
public GameObjectList GetConditionKindList()
{
GameObjectList list = new GameObjectList();
foreach (ConditionKind kind in this.ConditionKinds.Values)
{
list.Add(kind);
}
return list;
}
示例6: GetStratagemList
public GameObjectList GetStratagemList()
{
GameObjectList list = new GameObjectList();
foreach (Stratagem stratagem in this.Stratagems.Values)
{
list.Add(stratagem);
}
return list;
}
示例7: GetTechniqueList
public GameObjectList GetTechniqueList()
{
GameObjectList list = new GameObjectList();
foreach (Technique technique in this.Techniques.Values)
{
list.Add(technique);
}
return list;
}
示例8: GetEventEffectList
public GameObjectList GetEventEffectList()
{
GameObjectList list = new GameObjectList();
foreach (EventEffect effect in this.EventEffects.Values)
{
list.Add(effect);
}
return list;
}
示例9: GetInfluenceKindList
public GameObjectList GetInfluenceKindList()
{
GameObjectList list = new GameObjectList();
foreach (InfluenceKind kind in this.InfluenceKinds.Values)
{
list.Add(kind);
}
return list;
}
示例10: GetTitleList
public GameObjectList GetTitleList()
{
GameObjectList list = new GameObjectList();
foreach (Title title in this.Titles.Values)
{
list.Add(title);
}
return list;
}
示例11: GetEventEffectKindList
public GameObjectList GetEventEffectKindList()
{
GameObjectList list = new GameObjectList();
foreach (EventEffectKind kind in this.EventEffectKinds.Values)
{
list.Add(kind);
}
return list;
}
示例12: GetBiographyList
public GameObjectList GetBiographyList()
{
GameObjectList list = new GameObjectList();
foreach (Biography biography in this.Biographys.Values)
{
list.Add(biography);
}
return list;
}
示例13: GetFacilityKindList
public GameObjectList GetFacilityKindList()
{
GameObjectList list = new GameObjectList();
foreach (FacilityKind kind in this.FacilityKinds.Values)
{
list.Add(kind);
}
return list;
}
示例14: GetAnimationList
public GameObjectList GetAnimationList()
{
GameObjectList list = new GameObjectList();
foreach (Animation animation in this.Animations.Values)
{
list.Add(animation);
}
return list;
}
示例15: Getguanjuedezhongleiliebiao
public GameObjectList Getguanjuedezhongleiliebiao()
{
GameObjectList list = new GameObjectList();
foreach (guanjuezhongleilei kind in this.guanjuedezhongleizidian.Values)
{
list.Add(kind);
}
return list;
}