public SetUsableMissionObjectIsDisabledForPlayers(
     UsableMissionObject usableGameObject,
     bool isDisabledForPlayers)
 {
     this.UsableGameObject     = usableGameObject;
     this.IsDisabledForPlayers = isDisabledForPlayers;
 }
Esempio n. 2
0
 public SetUsableMissionObjectIsDeactivated(
     UsableMissionObject usableGameObject,
     bool isDeactivated)
 {
     this.UsableGameObject = usableGameObject;
     this.IsDeactivated    = isDeactivated;
 }
Esempio n. 3
0
        protected override bool OnRead()
        {
            bool bufferReadValid = true;

            this.Agent            = GameNetworkMessage.ReadAgentReferenceFromPacket(ref bufferReadValid);
            this.UsableGameObject = GameNetworkMessage.ReadMissionObjectReferenceFromPacket(ref bufferReadValid) as UsableMissionObject;
            return(bufferReadValid);
        }
Esempio n. 4
0
        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;
 }
Esempio n. 6
0
 public UseObject(Agent agent, UsableMissionObject usableGameObject)
 {
     this.Agent            = agent;
     this.UsableGameObject = usableGameObject;
 }
Esempio n. 7
0
 public override TextObject GetActionTextForStandingPoint(
     UsableMissionObject usableGameObject)
 {
     return(TextObject.Empty);
 }