public AttentionPingAnswerMessage(Vector2 position, uint targetNetId, uint sourceNetId, PingTypeEnum pingType)
 {
     this.position    = position;
     this.targetNetId = targetNetId;
     this.sourceNetId = sourceNetId;
     this.pingType    = pingType;
 }
Example #2
0
 public void AttentionPing(Vector2 position, uint targetNetId, PingTypeEnum pingType)
 {
     Team.Send(new AttentionPingAnswerMessage(position, targetNetId, NetId, pingType));
 }
 public override void Deserialize(LittleEndianReader reader)
 {
     this.position    = new Vector2(reader.ReadFloat(), reader.ReadFloat());
     this.targetNetId = reader.ReadUInt();
     this.pingType    = (PingTypeEnum)reader.ReadByte();
 }