コード例 #1
0
 ///<summary> Reads and returns a HLAupdateType from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAupdateType Deserialize(HlaEncodingReader reader)
 {
     return (HLAupdateType)reader.ReadHLAinteger32BE();
 }
コード例 #2
0
 ///<summary> Reads and returns a HLAfederateHandle from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAfederateHandle Deserialize(HlaEncodingReader reader)
 {
     return((HLAfederateHandle)reader.ReadHLAinteger32BE());
 }
コード例 #3
0
ファイル: HLAswitch.cs プロジェクト: superliujian/Sxta
 ///<summary> Reads and returns a HLAswitch from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAswitch Deserialize(HlaEncodingReader reader)
 {
     return (HLAswitch)reader.ReadHLAinteger32BE();
 }
コード例 #4
0
 ///<summary> Reads and returns a HLAsharingType from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAsharingType Deserialize(HlaEncodingReader reader)
 {
     return((HLAsharingType)reader.ReadHLAinteger32BE());
 }
コード例 #5
0
ファイル: HLAswitch.cs プロジェクト: agustinsantos/Sxta
 ///<summary> Reads and returns a HLAswitch from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAswitch Deserialize(HlaEncodingReader reader)
 {
     return((HLAswitch)reader.ReadHLAinteger32BE());
 }