public class ConfigChangeMessage extends ConfigChange implements IWorldObjectUpdatedEvent, ICompositeWorldObjectUpdatedEvent
Modifier and Type | Class and Description |
---|---|
class |
ConfigChangeMessage.ConfigChangeLocalMessage
Implementation of the local part of the GameBots2004 message CONFCH, used
to facade CONFCHMessage.
|
class |
ConfigChangeMessage.ConfigChangeSharedMessage
Implementation of the shared part of the GameBots2004 message CONFCH, used
to facade CONFCHMessage.
|
class |
ConfigChangeMessage.ConfigChangeStaticMessage
Implementation of the static part of the GameBots2004 message CONFCH, used
to facade CONFCHMessage.
|
ConfigChange.ConfigChangeUpdate
IWorldObjectUpdatedEvent.DestroyWorldObject
Modifier and Type | Field and Description |
---|---|
protected String |
Action
Name of current BDI action.
|
protected boolean |
Action_Set
Whether property 'Action' was received from GB2004.
|
protected boolean |
AutoPickupOff
It enables/disables automatic pickup of the bot.
|
protected boolean |
AutoPickupOff_Set
Whether property 'AutoPickupOff' was received from GB2004.
|
protected boolean |
AutoTrace
True if the bot is using auto ray tracing (is provided with
synchronous ATR messages).
|
protected boolean |
AutoTrace_Set
Whether property 'AutoTrace' was received from GB2004.
|
protected UnrealId |
BotId
Unique Id of the bot.
|
protected boolean |
BotId_Set
Whether property 'BotId' was received from GB2004.
|
protected boolean |
DrawTraceLines
if the GB should draw lines representing the auto ray traces
of the bot (for more information see ATR message).
|
protected boolean |
DrawTraceLines_Set
Whether property 'DrawTraceLines' was received from GB2004.
|
protected UnrealId |
Id
Id of this config message.
|
protected boolean |
Id_Set
Whether property 'Id' was received from GB2004.
|
protected boolean |
Invulnerable
If bot is invulnerable (cannot die) or not.
|
protected boolean |
Invulnerable_Set
Whether property 'Invulnerable' was received from GB2004.
|
protected boolean |
ManualSpawn
True if we have to spawn the bot manually after each death
|
protected boolean |
ManualSpawn_Set
Whether property 'ManualSpawn' was received from GB2004.
|
protected String |
Name
The bot's name.
|
protected boolean |
Name_Set
Whether property 'Name' was received from GB2004.
|
protected Rotation |
RotationRate
Bot rotation rate.
|
protected boolean |
RotationRate_Set
Whether property 'RotationRate' was received from GB2004.
|
protected boolean |
ShowDebug
If some additional debug information will be shown in the
UT2004 server console window.
|
protected boolean |
ShowDebug_Set
Whether property 'ShowDebug' was received from GB2004.
|
protected boolean |
ShowFocalPoint
If true an actor visualizing the location the bot is
actually looking at will appear in the game.
|
protected boolean |
ShowFocalPoint_Set
Whether property 'ShowFocalPoint' was received from GB2004.
|
protected double |
SpeedMultiplier
Bots default speed will be multiplied by this number.
|
protected boolean |
SpeedMultiplier_Set
Whether property 'SpeedMultiplier' was received from GB2004.
|
protected boolean |
SynchronousOff
It informs if sending of all GB synchronous messages is
enabled or disabled.
|
protected boolean |
SynchronousOff_Set
Whether property 'SynchronousOff' was received from GB2004.
|
protected ITeamId |
TeamId |
protected double |
VisionTime
The delay between two synchronous batches (can range from
0.1 to 2 seconds).
|
protected boolean |
VisionTime_Set
Whether property 'VisionTime' was received from GB2004.
|
PROTOTYPE, SimTime
Constructor and Description |
---|
ConfigChangeMessage()
Parameter-less contructor for the message.
|
ConfigChangeMessage(ConfigChangeMessage original)
Cloning constructor from the full message.
|
ConfigChangeMessage(UnrealId Id,
UnrealId BotId,
boolean ManualSpawn,
boolean AutoTrace,
String Name,
double SpeedMultiplier,
Rotation RotationRate,
boolean Invulnerable,
double VisionTime,
boolean ShowDebug,
boolean ShowFocalPoint,
boolean DrawTraceLines,
boolean SynchronousOff,
boolean AutoPickupOff,
String Action)
Creates new instance of the message ConfigChange.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Name of current BDI action.
|
UnrealId |
getBotId()
Unique Id of the bot.
|
UnrealId |
getId()
Id of this config message.
|
ConfigChangeLocal |
getLocal() |
ILocalWorldObjectUpdatedEvent |
getLocalEvent() |
String |
getName()
The bot's name.
|
Rotation |
getRotationRate()
Bot rotation rate.
|
ConfigChangeShared |
getShared() |
ISharedWorldObjectUpdatedEvent |
getSharedEvent() |
double |
getSpeedMultiplier()
Bots default speed will be multiplied by this number.
|
ConfigChangeStatic |
getStatic() |
IStaticWorldObjectUpdatedEvent |
getStaticEvent() |
ITeamId |
getTeamId() |
double |
getVisionTime()
The delay between two synchronous batches (can range from
0.1 to 2 seconds).
|
boolean |
isAutoPickupOff()
It enables/disables automatic pickup of the bot.
|
boolean |
isAutoTrace()
True if the bot is using auto ray tracing (is provided with
synchronous ATR messages).
|
boolean |
isDrawTraceLines()
if the GB should draw lines representing the auto ray traces
of the bot (for more information see ATR message).
|
boolean |
isInvulnerable()
If bot is invulnerable (cannot die) or not.
|
boolean |
isManualSpawn()
True if we have to spawn the bot manually after each death
|
boolean |
isShowDebug()
If some additional debug information will be shown in the
UT2004 server console window.
|
boolean |
isShowFocalPoint()
If true an actor visualizing the location the bot is
actually looking at will appear in the game.
|
boolean |
isSynchronousOff()
It informs if sending of all GB synchronous messages is
enabled or disabled.
|
protected void |
setTeamId(ITeamId TeamId)
Used by Yylex to slip corretn TeamId.
|
String |
toHtmlString() |
String |
toString() |
IWorldObjectUpdateResult<IWorldObject> |
update(IWorldObject object) |
getSimTime, setSimTime, toJsonLiteral
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSimTime
protected ITeamId TeamId
protected UnrealId Id
protected boolean Id_Set
protected UnrealId BotId
protected boolean BotId_Set
protected boolean ManualSpawn
protected boolean ManualSpawn_Set
protected boolean AutoTrace
protected boolean AutoTrace_Set
protected String Name
protected boolean Name_Set
protected double SpeedMultiplier
protected boolean SpeedMultiplier_Set
protected Rotation RotationRate
protected boolean RotationRate_Set
protected boolean Invulnerable
protected boolean Invulnerable_Set
protected double VisionTime
protected boolean VisionTime_Set
protected boolean ShowDebug
protected boolean ShowDebug_Set
protected boolean ShowFocalPoint
protected boolean ShowFocalPoint_Set
protected boolean DrawTraceLines
protected boolean DrawTraceLines_Set
protected boolean SynchronousOff
protected boolean SynchronousOff_Set
protected boolean AutoPickupOff
protected boolean AutoPickupOff_Set
protected String Action
protected boolean Action_Set
public ConfigChangeMessage()
public ConfigChangeMessage(UnrealId Id, UnrealId BotId, boolean ManualSpawn, boolean AutoTrace, String Name, double SpeedMultiplier, Rotation RotationRate, boolean Invulnerable, double VisionTime, boolean ShowDebug, boolean ShowFocalPoint, boolean DrawTraceLines, boolean SynchronousOff, boolean AutoPickupOff, String Action)
Id
- Id of this config message. This Id is generated from BotId, string "_CONFCH" is added at the end.BotId
- Unique Id of the bot.ManualSpawn
- True if we have to spawn the bot manually after each deathAutoTrace
- True if the bot is using auto ray tracing (is provided with
synchronous ATR messages). See ATR messages for more
details.Name
- The bot's name.SpeedMultiplier
- Bots default speed will be multiplied by this number. Ranges from 0.1 to 2 (default, can be set in ini in [GameBots2004.RemoteBot] MaxSpeed).RotationRate
- Bot rotation rate. Default rotation rate is: (Pitch=3072,Yaw=60000,Roll=2048) and may be configured in ini file in [GameBots2004.RemoteBot] DefaultRotationRate. (pitch - up/down, yaw - left/right, roll - equivalent of doing a cartwheel)Invulnerable
- If bot is invulnerable (cannot die) or not.VisionTime
- The delay between two synchronous batches (can range from
0.1 to 2 seconds).ShowDebug
- If some additional debug information will be shown in the
UT2004 server console window.ShowFocalPoint
- If true an actor visualizing the location the bot is
actually looking at will appear in the game.DrawTraceLines
- if the GB should draw lines representing the auto ray traces
of the bot (for more information see ATR message).SynchronousOff
- It informs if sending of all GB synchronous messages is
enabled or disabled.AutoPickupOff
- It enables/disables automatic pickup of the bot. If true the items can be picked up through PICK command.Action
- Name of current BDI action.public ConfigChangeMessage(ConfigChangeMessage original)
original
- protected void setTeamId(ITeamId TeamId)
public ITeamId getTeamId()
public UnrealId getId()
ConfigChange
getId
in interface IWorldObjectUpdatedEvent
getId
in interface IWorldObject
getId
in interface ICompositeWorldObjectUpdatedEvent
getId
in class ConfigChange
public UnrealId getBotId()
ConfigChange
getBotId
in class ConfigChange
public boolean isManualSpawn()
ConfigChange
isManualSpawn
in class ConfigChange
public boolean isAutoTrace()
ConfigChange
isAutoTrace
in class ConfigChange
public String getName()
ConfigChange
getName
in class ConfigChange
public double getSpeedMultiplier()
ConfigChange
getSpeedMultiplier
in class ConfigChange
public Rotation getRotationRate()
ConfigChange
getRotationRate
in class ConfigChange
public boolean isInvulnerable()
ConfigChange
isInvulnerable
in class ConfigChange
public double getVisionTime()
ConfigChange
getVisionTime
in class ConfigChange
public boolean isShowDebug()
ConfigChange
isShowDebug
in class ConfigChange
public boolean isShowFocalPoint()
ConfigChange
isShowFocalPoint
in class ConfigChange
public boolean isDrawTraceLines()
ConfigChange
isDrawTraceLines
in class ConfigChange
public boolean isSynchronousOff()
ConfigChange
isSynchronousOff
in class ConfigChange
public boolean isAutoPickupOff()
ConfigChange
isAutoPickupOff
in class ConfigChange
public String getAction()
ConfigChange
getAction
in class ConfigChange
public ConfigChangeLocal getLocal()
getLocal
in interface ICompositeWorldObject
public ConfigChangeShared getShared()
getShared
in interface ICompositeWorldObject
public ConfigChangeStatic getStatic()
getStatic
in interface ICompositeWorldObject
public IWorldObjectUpdateResult<IWorldObject> update(IWorldObject object)
update
in interface IWorldObjectUpdatedEvent
public ILocalWorldObjectUpdatedEvent getLocalEvent()
getLocalEvent
in interface ICompositeWorldObjectUpdatedEvent
public ISharedWorldObjectUpdatedEvent getSharedEvent()
getSharedEvent
in interface ICompositeWorldObjectUpdatedEvent
public IStaticWorldObjectUpdatedEvent getStaticEvent()
getStaticEvent
in interface ICompositeWorldObjectUpdatedEvent
public String toString()
toString
in class ConfigChange
public String toHtmlString()
toHtmlString
in class ConfigChange
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.