public static Offset <NetworkPacket.UserAction> CreateUserAction(FlatBufferBuilder builder,
                                                                  NetworkPacket.ActionType action = NetworkPacket.ActionType.PlayerIds)
 {
     builder.StartTable(1);
     UserAction.AddAction(builder, action);
     return(UserAction.EndUserAction(builder));
 }
 public static void AddAction(FlatBufferBuilder builder, NetworkPacket.ActionType action)
 {
     builder.AddByte(0, (byte)action, 0);
 }