You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1016 B

  1. use serde::{Serialize, Deserialize};
  2. use super::account::UserAccountId;
  3. // [2022-10-23 00:11:18][elseware::common::mainloop::client][WARN] error RecvServerPacket::from_bytes: WrongPacketForServerType(490, [40, 0, 234, 1, 0, 0, 0, 0, 9, 0, 74, 0, 97, 0, 115, 0, 100, 0, 102, 0, 0, 0, 0, 0, 192, 52, 67, 3, 60, 159, 129, 0, 32, 64, 233, 10, 196, 156, 152, 0])
  4. // [2022-10-23 00:20:14][elseware::common::mainloop::client][WARN] error RecvServerPacket::from_bytes: WrongPacketForServerType(490, [40, 0, 234, 1, 0, 0, 0, 0, 9, 0, 74, 0, 97, 0, 97, 0, 97, 0, 97, 0, 97, 0, 97, 0, 97, 0, 97, 0, 97, 0, 97, 0, 97, 0, 97, 0, 0, 0, 152, 0])
  5. #[derive(PartialEq, Eq, Copy, Clone, Debug, Hash, PartialOrd, Ord, Serialize, Deserialize)]
  6. pub struct TeamEntityId(pub u32);
  7. pub struct NewTeamEntity {
  8. pub created_by: UserAccountId,
  9. pub name: String,
  10. }
  11. #[derive(Debug, Clone)]
  12. pub struct TeamEntity {
  13. pub id: TeamEntityId,
  14. pub owner: UserAccountId,
  15. pub name: String,
  16. pub team_flag: [u8; 2048],
  17. }