public static Offset <NetworkPacket.PlayerIds> CreatePlayerIds(FlatBufferBuilder builder, bool sentByHost = false, VectorOffset idsOffset = default(VectorOffset)) { builder.StartTable(2); PlayerIds.AddIds(builder, idsOffset); PlayerIds.AddSentByHost(builder, sentByHost); return(PlayerIds.EndPlayerIds(builder)); }
public static PlayerIds GetRootAsPlayerIds(ByteBuffer _bb, PlayerIds obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }