Public Member Functions | |
| ServerCube () | |
| byte[] | GetBytes () |
| Method returning binary representation of ServerCube instance. | |
| bool | SetBytes (byte[] ABytes, int AOffset) |
| Method setting binary representation of ServerCube instance. | |
| bool | Assign (ServerCube AServerCube) |
| Assigns the fields of the current instance the values of the passed instance. | |
Protected Attributes | |
| Cube | FCube = null |
| Coordinate | FRotSpeed = null |
Properties | |
| static int | ByteSize [get] |
| Property containing the length of the binary representation of ServerCube. | |
| Cube | Cube [get, set] |
| Property containing the Cube instance. | |
| Coordinate | RotSpeed [get, set] |
| Property containing the cube rotation speed. | |
Definition at line 22 of file ServerCube.cs.
| Objects3D.ServerCube.ServerCube | ( | ) |
Definition at line 27 of file ServerCube.cs.
References Objects3D.ServerCube.Cube, Objects3D.ServerCube.FCube, and Objects3D.ServerCube.FRotSpeed.
| byte [] Objects3D.ServerCube.GetBytes | ( | ) |
Method returning binary representation of ServerCube instance.
GetBytes
Definition at line 57 of file ServerCube.cs.
References Objects3D.ServerCube.ByteSize, Objects3D.ServerCube.FCube, Objects3D.ServerCube.FRotSpeed, Objects3D.Coordinate.GetBytes(), and Objects3D.Cube.GetBytes().
Referenced by Objects3D.Network.GetServerCubes().
| bool Objects3D.ServerCube.SetBytes | ( | byte[] | ABytes, | |
| int | AOffset | |||
| ) |
Method setting binary representation of ServerCube instance.
SetBytes
| [in] | ABytes | array of byte containing the binary representation |
| [in] | AOffset | value defining from which position of the array the binary representation is to be read |
Definition at line 82 of file ServerCube.cs.
References Objects3D.ServerCube.ByteSize, Objects3D.ServerCube.FCube, Objects3D.ServerCube.FRotSpeed, Objects3D.Coordinate.SetBytes(), and Objects3D.Cube.SetBytes().
| bool Objects3D.ServerCube.Assign | ( | ServerCube | AServerCube | ) |
Assigns the fields of the current instance the values of the passed instance.
Assign
| [in] | ServerCube | instance |
Definition at line 148 of file ServerCube.cs.
References Objects3D.Coordinate.Assign(), Objects3D.Cube.Assign(), Objects3D.ServerCube.Cube, Objects3D.ServerCube.FCube, Objects3D.ServerCube.FRotSpeed, and Objects3D.ServerCube.RotSpeed.
Cube Objects3D.ServerCube.FCube = null [protected] |
Definition at line 24 of file ServerCube.cs.
Referenced by Objects3D.ServerCube.Assign(), Objects3D.ServerCube.GetBytes(), Objects3D.ServerCube.ServerCube(), and Objects3D.ServerCube.SetBytes().
Coordinate Objects3D.ServerCube.FRotSpeed = null [protected] |
Definition at line 25 of file ServerCube.cs.
Referenced by Objects3D.ServerCube.Assign(), Objects3D.ServerCube.GetBytes(), Objects3D.ServerCube.ServerCube(), and Objects3D.ServerCube.SetBytes().
Objects3D.ServerCube::ByteSize [static, get] |
Property containing the length of the binary representation of ServerCube.
Definition at line 41 of file ServerCube.cs.
Referenced by Objects3D.ServerCube.GetBytes(), and Objects3D.ServerCube.SetBytes().
Objects3D.ServerCube::Cube [get, set] |
Property containing the Cube instance.
Definition at line 105 of file ServerCube.cs.
Referenced by Objects3D.ServerCube.Assign(), Objects3D.Network.GetServerCubesAsCubes(), Objects3D.ServerCube.ServerCube(), Cubes3D.ServerHandler.ServerTimerTick(), and Cubes3D.ServerHandler.StartServerReceiver().
Objects3D.ServerCube::RotSpeed [get, set] |
Property containing the cube rotation speed.
Definition at line 125 of file ServerCube.cs.
Referenced by Objects3D.ServerCube.Assign().
1.5.6