Exemple #1
0
 public static void PlayerToOm(NetOutgoingMessage om, AbsData d)
 {
     om.Write(d.alive);
     om.Write(d.GetXpos());
     om.Write(d.GetYpos());
     om.Write(d.GetZpos());
     om.Write((Int32)d.id);
     om.Write(d.xr);
     om.Write(d.yr);
     om.Write(d.model);
 }
Exemple #2
0
 public static void PlayerToOm(NetOutgoingMessage om, AbsData d)
 {
     om.Write(d.alive);
     om.Write(d.GetXpos());
     om.Write(d.GetYpos());
     om.Write(d.GetZpos());
     om.Write((Int32)d.id);
     om.Write(d.xr);
     om.Write(d.yr);
     om.Write(d.model);
 }