Beispiel #1
0
        public HoldObject(uint identifier, string name, Point3D homePosition, ushort buffId, int groundResetTime, InteractAction onPickupAction, BallAction onDropAction, BallAction onResetAction, BuffQueueInfo.BuffCallbackDelegate onBuffCallback, ushort groundModelId, ushort homeModelId)
        {
            IsActive     = false;
            Identifier   = identifier;
            this.name    = name;
            HomePosition = homePosition;
            BuffId       = buffId;
            //Heading = 1024;

            GroundResetTime = groundResetTime;

            OnPickupAction = onPickupAction;
            OnDropAction   = onDropAction;
            OnResetAction  = onResetAction;
            OnBuffCallback = onBuffCallback;

            GroundModelId = groundModelId;
            HomeModelId   = homeModelId;

            CaptureDuration = 3;
        }
Beispiel #2
0
 public Bomb(uint identifier, string name, Point3D homeLoc, ushort buffId, ushort groundResetTime, InteractAction onPickupAction, BallAction onDropAction, BallAction onResetAction,
             BuffQueueInfo.BuffCallbackDelegate onBuffCallback, ushort groundModelId, ushort homeModelId) : base(identifier, name, homeLoc, buffId, groundResetTime, onPickupAction,
                                                                                                                 onDropAction, onResetAction, onBuffCallback, groundModelId, homeModelId)
 {
     ObjectType = 1;
 }
Beispiel #3
0
 public ResourceBox(uint identifier, string name, Point3D homePosition, ushort buffId, int groundResetTime, InteractAction onPickupAction, BallAction onDropAction, BallAction onResetAction, BuffQueueInfo.BuffCallbackDelegate onBuffCallback, ushort groundModelId, ushort homeModelId)
     : base(identifier, name, homePosition, buffId, groundResetTime, onPickupAction, onDropAction, onResetAction, onBuffCallback, groundModelId, homeModelId)
 {
     HoldResetTimeSeconds = 360;
 }