C# 클래스 OpenRA.Mods.Common.Traits.MissionObjectives

상속: INotifyObjectivesUpdated, ISync, IResolveOrder
파일 보기 프로젝트 열기: pchote/OpenRA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Info MissionObjectivesInfo
Objectives ReadOnlyList

Private Properties

프로퍼티 타입 설명
CheckIfGameIsOver void

공개 메소드들

메소드 설명
Add ( Player player, string description, ObjectiveType type = ObjectiveType.Primary, bool inhibitAnnouncement = false ) : int
ForceDefeat ( Player player ) : void
MarkCompleted ( Player player, int objectiveID ) : void
MarkFailed ( Player player, int objectiveID ) : void
MissionObjectives ( World world, MissionObjectivesInfo info ) : System
OnObjectiveAdded ( Player player, int id ) : void
OnObjectiveCompleted ( Player player, int id ) : void
OnObjectiveFailed ( Player player, int id ) : void
OnPlayerLost ( Player player ) : void
OnPlayerWon ( Player player ) : void
ResolveOrder ( Actor self, Order order ) : void

비공개 메소드들

메소드 설명
CheckIfGameIsOver ( Player player ) : void

메소드 상세

Add() 공개 메소드

public Add ( Player player, string description, ObjectiveType type = ObjectiveType.Primary, bool inhibitAnnouncement = false ) : int
player Player
description string
type ObjectiveType
inhibitAnnouncement bool
리턴 int

ForceDefeat() 공개 메소드

public ForceDefeat ( Player player ) : void
player Player
리턴 void

MarkCompleted() 공개 메소드

public MarkCompleted ( Player player, int objectiveID ) : void
player Player
objectiveID int
리턴 void

MarkFailed() 공개 메소드

public MarkFailed ( Player player, int objectiveID ) : void
player Player
objectiveID int
리턴 void

MissionObjectives() 공개 메소드

public MissionObjectives ( World world, MissionObjectivesInfo info ) : System
world World
info MissionObjectivesInfo
리턴 System

OnObjectiveAdded() 공개 메소드

public OnObjectiveAdded ( Player player, int id ) : void
player Player
id int
리턴 void

OnObjectiveCompleted() 공개 메소드

public OnObjectiveCompleted ( Player player, int id ) : void
player Player
id int
리턴 void

OnObjectiveFailed() 공개 메소드

public OnObjectiveFailed ( Player player, int id ) : void
player Player
id int
리턴 void

OnPlayerLost() 공개 메소드

public OnPlayerLost ( Player player ) : void
player Player
리턴 void

OnPlayerWon() 공개 메소드

public OnPlayerWon ( Player player ) : void
player Player
리턴 void

ResolveOrder() 공개 메소드

public ResolveOrder ( Actor self, Order order ) : void
self Actor
order Order
리턴 void

프로퍼티 상세

Info 공개적으로 프로퍼티

public MissionObjectivesInfo,OpenRA.Mods.Common.Traits Info
리턴 MissionObjectivesInfo

Objectives 공개적으로 프로퍼티

public ReadOnlyList Objectives
리턴 ReadOnlyList