public static Offset <global::FlatBuffersProtocol.Weapon> Encode(WebProtocol.FlatBuffersProtocol.Weapon source, FlatBufferBuilder fbb)
 {
     global::FlatBuffersProtocol.Weapon.StartWeapon(fbb);
     global::FlatBuffersProtocol.Weapon.AddId(fbb, source.id);
     global::FlatBuffersProtocol.Weapon.AddAmmoCapacity(fbb, source.ammo_capacity);
     return(global::FlatBuffersProtocol.Weapon.EndWeapon(fbb));
 }
 public static void Decode(WebProtocol.FlatBuffersProtocol.Weapon destination, global::FlatBuffersProtocol.Weapon source)
 {
     destination.id            = source.Id;
     destination.ammo_capacity = source.AmmoCapacity;
 }