public SetUsableMissionObjectIsDisabledForPlayers( UsableMissionObject usableGameObject, bool isDisabledForPlayers) { this.UsableGameObject = usableGameObject; this.IsDisabledForPlayers = isDisabledForPlayers; }
public SetUsableMissionObjectIsDeactivated( UsableMissionObject usableGameObject, bool isDeactivated) { this.UsableGameObject = usableGameObject; this.IsDeactivated = isDeactivated; }
protected override bool OnRead() { bool bufferReadValid = true; this.Agent = GameNetworkMessage.ReadAgentReferenceFromPacket(ref bufferReadValid); this.UsableGameObject = GameNetworkMessage.ReadMissionObjectReferenceFromPacket(ref bufferReadValid) as UsableMissionObject; return(bufferReadValid); }
public override TextObject GetActionTextForStandingPoint( UsableMissionObject usableGameObject) { if (!usableGameObject.GameEntity.HasTag(this.AmmoPickUpTag)) { return(TextObject.Empty); } TextObject textObject = new TextObject("{=jfcceEoE}{PILE_TYPE} Pile"); textObject.SetTextVariable("PILE_TYPE", new TextObject("{=1CPdu9K0}Stone")); return(textObject); }
public RequestUseObject(UsableMissionObject usableGameObject, int usedObjectPreferenceIndex) { this.UsableGameObject = usableGameObject; this.UsedObjectPreferenceIndex = usedObjectPreferenceIndex; }
public UseObject(Agent agent, UsableMissionObject usableGameObject) { this.Agent = agent; this.UsableGameObject = usableGameObject; }
public override TextObject GetActionTextForStandingPoint( UsableMissionObject usableGameObject) { return(TextObject.Empty); }