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.ConfigChangeUpdateIWorldObjectUpdatedEvent.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, toJsonLiteralclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSimTimeprotected 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()
ConfigChangegetId in interface IWorldObjectUpdatedEventgetId in interface IWorldObjectgetId in interface ICompositeWorldObjectUpdatedEventgetId in class ConfigChangepublic UnrealId getBotId()
ConfigChangegetBotId in class ConfigChangepublic boolean isManualSpawn()
ConfigChangeisManualSpawn in class ConfigChangepublic boolean isAutoTrace()
ConfigChangeisAutoTrace in class ConfigChangepublic String getName()
ConfigChangegetName in class ConfigChangepublic double getSpeedMultiplier()
ConfigChangegetSpeedMultiplier in class ConfigChangepublic Rotation getRotationRate()
ConfigChangegetRotationRate in class ConfigChangepublic boolean isInvulnerable()
ConfigChangeisInvulnerable in class ConfigChangepublic double getVisionTime()
ConfigChangegetVisionTime in class ConfigChangepublic boolean isShowDebug()
ConfigChangeisShowDebug in class ConfigChangepublic boolean isShowFocalPoint()
ConfigChangeisShowFocalPoint in class ConfigChangepublic boolean isDrawTraceLines()
ConfigChangeisDrawTraceLines in class ConfigChangepublic boolean isSynchronousOff()
ConfigChangeisSynchronousOff in class ConfigChangepublic boolean isAutoPickupOff()
ConfigChangeisAutoPickupOff in class ConfigChangepublic String getAction()
ConfigChangegetAction in class ConfigChangepublic ConfigChangeLocal getLocal()
getLocal in interface ICompositeWorldObjectpublic ConfigChangeShared getShared()
getShared in interface ICompositeWorldObjectpublic ConfigChangeStatic getStatic()
getStatic in interface ICompositeWorldObjectpublic IWorldObjectUpdateResult<IWorldObject> update(IWorldObject object)
update in interface IWorldObjectUpdatedEventpublic ILocalWorldObjectUpdatedEvent getLocalEvent()
getLocalEvent in interface ICompositeWorldObjectUpdatedEventpublic ISharedWorldObjectUpdatedEvent getSharedEvent()
getSharedEvent in interface ICompositeWorldObjectUpdatedEventpublic IStaticWorldObjectUpdatedEvent getStaticEvent()
getStaticEvent in interface ICompositeWorldObjectUpdatedEventpublic String toString()
toString in class ConfigChangepublic String toHtmlString()
toHtmlString in class ConfigChangeCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.