|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChangeMessage
public class ConfigChangeMessage
Implementation of the GameBots2004 message CONFCH contains also its Local/Shared/Static subpart class definitions..
Complete message documentation: Asynchronous message. Message sent when the bot configuration changed - each agent has a lot of parameters affecting his state in the environment. See each property for the details.
| Nested Class Summary | |
|---|---|
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. |
| Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange |
|---|
ConfigChange.ConfigChangeUpdate |
| Nested classes/interfaces inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdatedEvent |
|---|
IWorldObjectUpdatedEvent.DestroyWorldObject |
| Field Summary | |
|---|---|
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 double |
SelfUpdateTime
The delay between two self message synchronous batches (can range from 0.01 to 2 seconds). |
protected boolean |
SelfUpdateTime_Set
Whether property 'SelfUpdateTime' 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 containing vision updates (can range from 0.1 to 2 seconds). |
protected boolean |
VisionTime_Set
Whether property 'VisionTime' was received from GB2004. |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange |
|---|
PROTOTYPE, SimTime |
| Constructor Summary | |
|---|---|
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 SelfUpdateTime,
double VisionTime,
boolean ShowDebug,
boolean ShowFocalPoint,
boolean DrawTraceLines,
boolean SynchronousOff,
boolean AutoPickupOff,
String Action)
Creates new instance of the message ConfigChange. |
|
| Method Summary | |
|---|---|
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. |
double |
getSelfUpdateTime()
The delay between two self message synchronous batches (can range from 0.01 to 2 seconds). |
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 containing vision updates (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)
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange |
|---|
getSimTime, setSimTime, toJsonLiteral |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent |
|---|
getSimTime |
| Field Detail |
|---|
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 SelfUpdateTime
protected boolean SelfUpdateTime_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
| Constructor Detail |
|---|
public ConfigChangeMessage()
public ConfigChangeMessage(UnrealId Id,
UnrealId BotId,
boolean ManualSpawn,
boolean AutoTrace,
String Name,
double SpeedMultiplier,
Rotation RotationRate,
boolean Invulnerable,
double SelfUpdateTime,
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.SelfUpdateTime - The delay between two self message synchronous batches
(can range from 0.01 to 2 seconds). Will be used only if NewSelfBatchProtocol
attribute is set to true in INIT message.VisionTime - The delay between two synchronous batches containing vision updates
(can range from 0.1 to 2 seconds). If NewSelfBatchProtocol
attribute is set to true in INIT message, more batch messages containing only
SELF message will arrive between two vision update batches (containing PLR,PRJ,INV.. messages).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 - | Method Detail |
|---|
protected void setTeamId(ITeamId TeamId)
public ITeamId getTeamId()
public UnrealId getId()
ConfigChange
getId in interface IWorldObjectUpdatedEventgetId in interface IWorldObjectgetId in interface ICompositeWorldObjectUpdatedEventgetId in class ConfigChangepublic UnrealId getBotId()
ConfigChange
getBotId in class ConfigChangepublic boolean isManualSpawn()
ConfigChange
isManualSpawn in class ConfigChangepublic boolean isAutoTrace()
ConfigChange
isAutoTrace in class ConfigChangepublic String getName()
ConfigChange
getName in class ConfigChangepublic double getSpeedMultiplier()
ConfigChange
getSpeedMultiplier in class ConfigChangepublic Rotation getRotationRate()
ConfigChange
getRotationRate in class ConfigChangepublic boolean isInvulnerable()
ConfigChange
isInvulnerable in class ConfigChangepublic double getSelfUpdateTime()
ConfigChange
getSelfUpdateTime in class ConfigChangepublic double getVisionTime()
ConfigChange
getVisionTime in class ConfigChangepublic boolean isShowDebug()
ConfigChange
isShowDebug in class ConfigChangepublic boolean isShowFocalPoint()
ConfigChange
isShowFocalPoint in class ConfigChangepublic boolean isDrawTraceLines()
ConfigChange
isDrawTraceLines in class ConfigChangepublic boolean isSynchronousOff()
ConfigChange
isSynchronousOff in class ConfigChangepublic boolean isAutoPickupOff()
ConfigChange
isAutoPickupOff in class ConfigChangepublic String getAction()
ConfigChange
getAction 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 ConfigChange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||