CRaPI - Correct Robust and Perfect API

ServerParam Members

ServerParam overview

Public Static Methods

CreateParses the server_param message from the server

Public Instance Properties

BallAccelMaxGets maximum acceleration of the ball, according to the server_param message ball_accel_mas.
BallDecayGets loss of speed of the ball, according to the server_param message ball_decay.
BallRandGets the noice of the ball, according to the server_param message ball_rand.
BallSizeGets ball size, according to the server_param message ball_size.
BallSpeedMaxGets the maximum speed of the ball, according to the server_param message ball_speed_max.
CatchableAreaLengthGets the length of the catchable area where the ball must reside if the goalie should be able to catch the ball, according to the server_param message catchable_area_l.
CatchableAreaWidthGets the width of the catchable area where the ball must reside if the goalie should be able to catch the ball, according to the server_param message catchable_area_w.
DashPowerRateGets the dash power rate, according to the server_param message dash_power_rate.
InertiaMomentGets the inertia moment, according to the server_param message inertia_moment.
Item (inherited from InfoBase)The parameter from the server
KickableMarginGets kickable margin, according to the server_param message kickable_margin.
KickPowerRateGets power rate of a kick, according to the server_param message kick_power_rate.
MaxMomentGets how much the body can be turned to the right at the most in one turn, according to the server_param message maxmoment.
MaxNeckAngleGets the maximum value the neck-angle can be, according to the server_param message maxneckang.
MaxNeckMomentGets how much the neck can be turned to the right at the most in one turn, according to the server_param message maxneckmoment.
MaxPowerGets the max power of i.e. kick and dash, according to the server_param message maxpower.
MaxStaminaGets the maximum stamina for a player, according to the server_param message stamina_max.
MinMomentGets how much the body can be turned to the left at the most in one turn, according to the server_param message minmoment.
MinNeckAngleGets the minimum value the neck-angle can be, according to the server_param message minneckang.
MinNeckMomentGets how much the neck can be turned to the left at the most in one turn, according to the server_param message minneckmoment.
MinPowerGets the min power of i.e. kick and dash, according to the server_param message minpower.
PlayerDecayGets the decay of the player, according to the server_param message player_decay.
PlayerSizeGets the size of the player, according to the server_param message player_size.
PlayerSpeedMaxGets the maximum speed for a player, according to the server_param message player_speed_max.
SimulatorStepGets the step of the simulation in milliseconds, according to the server_param message simulator_step.
WindDirGets direction of the wind, according to the server_param message wind_dir.
WindForceGets force of the wind, according to the server_param message wind_force.
WindRandGets noice of the wind, according to the server_param message wind_rand.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
getDouble (inherited from InfoBase)Overloaded. Gets a value from the message, mapping pKey to an attribute, and converts the value to a double.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
getInt (inherited from InfoBase)Gets a value from the message, mapping pKey to an attribute, and converts the value to an int.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from InfoBase)The string representation of the class.

Protected Instance Fields

mValues (inherited from InfoBase)The hashtable containing the keys and values parsed from the message.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ServerParam Class | TeamYaffa.CRaPI.Info Namespace