├── .env.example ├── .eslintrc ├── .gitignore ├── LICENSE ├── README.md ├── index.ts ├── nodemon.json ├── ormconfig.ts ├── package.json ├── src ├── api │ ├── controllers │ │ ├── http │ │ │ ├── RoomController.ts │ │ │ └── authentication │ │ │ │ └── AuthenticationController.ts │ │ └── ws │ │ │ └── PlayerController.ts │ ├── mailing │ │ ├── Transporter.ts │ │ └── templates │ │ │ └── .gitkeep │ ├── middlewares │ │ ├── CompressionMiddleware.ts │ │ ├── MorganMiddleware.ts │ │ ├── request │ │ │ ├── JsonMiddleware.ts │ │ │ └── UrlencodedMiddleware.ts │ │ └── security │ │ │ ├── HelmetMiddleware.ts │ │ │ └── HstsMiddleware.ts │ ├── repositories │ │ ├── IBaseRepository.ts │ │ ├── room │ │ │ ├── IRoomRepository.ts │ │ │ └── RoomRepository.ts │ │ ├── shop │ │ │ ├── IShopRepository.ts │ │ │ └── ShopRepository.ts │ │ └── user │ │ │ ├── IUserRepository.ts │ │ │ └── UserRepository.ts │ ├── responses │ │ ├── ILoginResponse.ts │ │ ├── IRegisterResponse.ts │ │ └── IRoomResponse.ts │ ├── services │ │ ├── RoomService.ts │ │ ├── ShopService.ts │ │ ├── UserService.ts │ │ └── authentication │ │ │ └── AuthenticationService.ts │ └── validators │ │ └── authentication │ │ ├── LoginValidation.ts │ │ └── RegisterValidation.ts ├── config │ ├── Env.ts │ ├── Express.ts │ ├── Ioc.ts │ ├── Logger.ts │ └── Socket.io.ts ├── database │ ├── factories │ │ └── .gitkeep │ ├── index.ts │ ├── migrations │ │ ├── 1587068042142-create-mascots.ts │ │ ├── 1587068082602-create-items.ts │ │ ├── 1587068116213-create-rooms.ts │ │ ├── 1587068168844-create-users.ts │ │ └── 1596045102494-create-shops.ts │ ├── models │ │ ├── Item.ts │ │ ├── Mascot.ts │ │ ├── room │ │ │ ├── Trigger.ts │ │ │ └── index.ts │ │ ├── shop │ │ │ ├── Shop.ts │ │ │ └── ShopCollections.ts │ │ └── user │ │ │ ├── UserConfirmation.ts │ │ │ ├── Useritem.ts │ │ │ └── index.ts │ ├── seeds │ │ ├── create-items-seed.ts │ │ ├── create-mascots-seed.ts │ │ ├── create-rooms-seed.ts │ │ └── create-rooms-triggers-seed.ts │ └── subscribers │ │ └── UserSubscriber.ts ├── decorators │ ├── Command.ts │ ├── IncomingMessage.ts │ └── Plugin.ts ├── game │ ├── entities │ │ ├── IEntity.ts │ │ ├── IEntityPlayer.ts │ │ └── player │ │ │ ├── Base.ts │ │ │ ├── index.ts │ │ │ └── inventory │ │ │ ├── IInventory.ts │ │ │ └── Inventory.ts │ ├── events │ │ ├── player │ │ │ ├── ChatEvent.ts │ │ │ ├── CodeEvent.ts │ │ │ ├── MoveEvent.ts │ │ │ └── UpdateGearEvent.ts │ │ └── room │ │ │ ├── JoinEvent.ts │ │ │ └── LeaveEvent.ts │ ├── items │ │ └── IItem.ts │ ├── messages │ │ ├── incoming │ │ │ ├── chat │ │ │ │ ├── IChatMessage.ts │ │ │ │ └── index.ts │ │ │ ├── code │ │ │ │ ├── ICodeMessage.ts │ │ │ │ └── index.ts │ │ │ ├── gear │ │ │ │ ├── IGearMessage.ts │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ ├── login │ │ │ │ ├── ILoginMessage.ts │ │ │ │ └── index.ts │ │ │ ├── move │ │ │ │ ├── IMovementMessage.ts │ │ │ │ └── index.ts │ │ │ ├── room │ │ │ │ ├── IJoinMessage.ts │ │ │ │ └── IncomingJoinMessage.ts │ │ │ └── shop │ │ │ │ ├── IShopMessage.ts │ │ │ │ └── index.ts │ │ └── outgoing │ │ │ ├── chat │ │ │ ├── IChatMessage.ts │ │ │ └── index.ts │ │ │ ├── gear │ │ │ ├── IGearMessage.ts │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ ├── login │ │ │ ├── ILoginMessage.ts │ │ │ └── index.ts │ │ │ ├── move │ │ │ ├── IMovementMessage.ts │ │ │ └── index.ts │ │ │ ├── playerJoin │ │ │ ├── IPlayerJoinMessage.ts │ │ │ └── OutgoingPlayerJoinMessage.ts │ │ │ ├── playerLeave │ │ │ ├── IPlayerJoinMessage.ts │ │ │ └── OutgoingPlayerJoinMessage.ts │ │ │ ├── room │ │ │ ├── IRoomJoinMessage.ts │ │ │ └── OutgoingJoinMessage.ts │ │ │ └── shop │ │ │ ├── IShopMessage.ts │ │ │ └── index.ts │ └── rooms │ │ ├── IRoom.ts │ │ └── index.ts ├── plugins │ ├── bot │ │ ├── Bot.ts │ │ └── index.ts │ └── npc │ │ ├── Mike.ts │ │ └── index.ts ├── shared │ ├── PluginManager.ts │ └── builders │ │ └── response │ │ ├── BaseApiResponse.ts │ │ ├── ErrorResponse.ts │ │ └── SuccessResponse.ts └── types │ ├── PlayerSocket.ts │ └── Type.ts ├── tsconfig.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/README.md -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/index.ts -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/nodemon.json -------------------------------------------------------------------------------- /ormconfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/ormconfig.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/package.json -------------------------------------------------------------------------------- /src/api/controllers/http/RoomController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/controllers/http/RoomController.ts -------------------------------------------------------------------------------- /src/api/controllers/http/authentication/AuthenticationController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/controllers/http/authentication/AuthenticationController.ts -------------------------------------------------------------------------------- /src/api/controllers/ws/PlayerController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/controllers/ws/PlayerController.ts -------------------------------------------------------------------------------- /src/api/mailing/Transporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/mailing/Transporter.ts -------------------------------------------------------------------------------- /src/api/mailing/templates/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/api/middlewares/CompressionMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/middlewares/CompressionMiddleware.ts -------------------------------------------------------------------------------- /src/api/middlewares/MorganMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/middlewares/MorganMiddleware.ts -------------------------------------------------------------------------------- /src/api/middlewares/request/JsonMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/middlewares/request/JsonMiddleware.ts -------------------------------------------------------------------------------- /src/api/middlewares/request/UrlencodedMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/middlewares/request/UrlencodedMiddleware.ts -------------------------------------------------------------------------------- /src/api/middlewares/security/HelmetMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/middlewares/security/HelmetMiddleware.ts -------------------------------------------------------------------------------- /src/api/middlewares/security/HstsMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/middlewares/security/HstsMiddleware.ts -------------------------------------------------------------------------------- /src/api/repositories/IBaseRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/repositories/IBaseRepository.ts -------------------------------------------------------------------------------- /src/api/repositories/room/IRoomRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/repositories/room/IRoomRepository.ts -------------------------------------------------------------------------------- /src/api/repositories/room/RoomRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/repositories/room/RoomRepository.ts -------------------------------------------------------------------------------- /src/api/repositories/shop/IShopRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/repositories/shop/IShopRepository.ts -------------------------------------------------------------------------------- /src/api/repositories/shop/ShopRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/repositories/shop/ShopRepository.ts -------------------------------------------------------------------------------- /src/api/repositories/user/IUserRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/repositories/user/IUserRepository.ts -------------------------------------------------------------------------------- /src/api/repositories/user/UserRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/repositories/user/UserRepository.ts -------------------------------------------------------------------------------- /src/api/responses/ILoginResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/responses/ILoginResponse.ts -------------------------------------------------------------------------------- /src/api/responses/IRegisterResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/responses/IRegisterResponse.ts -------------------------------------------------------------------------------- /src/api/responses/IRoomResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/responses/IRoomResponse.ts -------------------------------------------------------------------------------- /src/api/services/RoomService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/services/RoomService.ts -------------------------------------------------------------------------------- /src/api/services/ShopService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/services/ShopService.ts -------------------------------------------------------------------------------- /src/api/services/UserService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/services/UserService.ts -------------------------------------------------------------------------------- /src/api/services/authentication/AuthenticationService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/services/authentication/AuthenticationService.ts -------------------------------------------------------------------------------- /src/api/validators/authentication/LoginValidation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/validators/authentication/LoginValidation.ts -------------------------------------------------------------------------------- /src/api/validators/authentication/RegisterValidation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/api/validators/authentication/RegisterValidation.ts -------------------------------------------------------------------------------- /src/config/Env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/config/Env.ts -------------------------------------------------------------------------------- /src/config/Express.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/config/Express.ts -------------------------------------------------------------------------------- /src/config/Ioc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/config/Ioc.ts -------------------------------------------------------------------------------- /src/config/Logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/config/Logger.ts -------------------------------------------------------------------------------- /src/config/Socket.io.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/config/Socket.io.ts -------------------------------------------------------------------------------- /src/database/factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/index.ts -------------------------------------------------------------------------------- /src/database/migrations/1587068042142-create-mascots.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/migrations/1587068042142-create-mascots.ts -------------------------------------------------------------------------------- /src/database/migrations/1587068082602-create-items.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/migrations/1587068082602-create-items.ts -------------------------------------------------------------------------------- /src/database/migrations/1587068116213-create-rooms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/migrations/1587068116213-create-rooms.ts -------------------------------------------------------------------------------- /src/database/migrations/1587068168844-create-users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/migrations/1587068168844-create-users.ts -------------------------------------------------------------------------------- /src/database/migrations/1596045102494-create-shops.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/migrations/1596045102494-create-shops.ts -------------------------------------------------------------------------------- /src/database/models/Item.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/Item.ts -------------------------------------------------------------------------------- /src/database/models/Mascot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/Mascot.ts -------------------------------------------------------------------------------- /src/database/models/room/Trigger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/room/Trigger.ts -------------------------------------------------------------------------------- /src/database/models/room/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/room/index.ts -------------------------------------------------------------------------------- /src/database/models/shop/Shop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/shop/Shop.ts -------------------------------------------------------------------------------- /src/database/models/shop/ShopCollections.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/shop/ShopCollections.ts -------------------------------------------------------------------------------- /src/database/models/user/UserConfirmation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/user/UserConfirmation.ts -------------------------------------------------------------------------------- /src/database/models/user/Useritem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/user/Useritem.ts -------------------------------------------------------------------------------- /src/database/models/user/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/models/user/index.ts -------------------------------------------------------------------------------- /src/database/seeds/create-items-seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/seeds/create-items-seed.ts -------------------------------------------------------------------------------- /src/database/seeds/create-mascots-seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/seeds/create-mascots-seed.ts -------------------------------------------------------------------------------- /src/database/seeds/create-rooms-seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/seeds/create-rooms-seed.ts -------------------------------------------------------------------------------- /src/database/seeds/create-rooms-triggers-seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/seeds/create-rooms-triggers-seed.ts -------------------------------------------------------------------------------- /src/database/subscribers/UserSubscriber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/database/subscribers/UserSubscriber.ts -------------------------------------------------------------------------------- /src/decorators/Command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/decorators/Command.ts -------------------------------------------------------------------------------- /src/decorators/IncomingMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/decorators/IncomingMessage.ts -------------------------------------------------------------------------------- /src/decorators/Plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/decorators/Plugin.ts -------------------------------------------------------------------------------- /src/game/entities/IEntity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/entities/IEntity.ts -------------------------------------------------------------------------------- /src/game/entities/IEntityPlayer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/entities/IEntityPlayer.ts -------------------------------------------------------------------------------- /src/game/entities/player/Base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/entities/player/Base.ts -------------------------------------------------------------------------------- /src/game/entities/player/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/entities/player/index.ts -------------------------------------------------------------------------------- /src/game/entities/player/inventory/IInventory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/entities/player/inventory/IInventory.ts -------------------------------------------------------------------------------- /src/game/entities/player/inventory/Inventory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/entities/player/inventory/Inventory.ts -------------------------------------------------------------------------------- /src/game/events/player/ChatEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/events/player/ChatEvent.ts -------------------------------------------------------------------------------- /src/game/events/player/CodeEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/events/player/CodeEvent.ts -------------------------------------------------------------------------------- /src/game/events/player/MoveEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/events/player/MoveEvent.ts -------------------------------------------------------------------------------- /src/game/events/player/UpdateGearEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/events/player/UpdateGearEvent.ts -------------------------------------------------------------------------------- /src/game/events/room/JoinEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/events/room/JoinEvent.ts -------------------------------------------------------------------------------- /src/game/events/room/LeaveEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/events/room/LeaveEvent.ts -------------------------------------------------------------------------------- /src/game/items/IItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/items/IItem.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/chat/IChatMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/chat/IChatMessage.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/chat/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/chat/index.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/code/ICodeMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/code/ICodeMessage.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/code/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/code/index.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/gear/IGearMessage.ts: -------------------------------------------------------------------------------- 1 | export interface IGearMessage { 2 | g: string[] 3 | } 4 | -------------------------------------------------------------------------------- /src/game/messages/incoming/gear/index.ts: -------------------------------------------------------------------------------- 1 | export type IncomingUpdateGearMessage = string[] 2 | -------------------------------------------------------------------------------- /src/game/messages/incoming/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/index.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/login/ILoginMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/login/ILoginMessage.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/login/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/login/index.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/move/IMovementMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/move/IMovementMessage.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/move/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/move/index.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/room/IJoinMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/room/IJoinMessage.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/room/IncomingJoinMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/room/IncomingJoinMessage.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/shop/IShopMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/shop/IShopMessage.ts -------------------------------------------------------------------------------- /src/game/messages/incoming/shop/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/incoming/shop/index.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/chat/IChatMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/chat/IChatMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/chat/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/chat/index.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/gear/IGearMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/gear/IGearMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/gear/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/gear/index.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/index.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/login/ILoginMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/login/ILoginMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/login/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/login/index.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/move/IMovementMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/move/IMovementMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/move/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/move/index.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/playerJoin/IPlayerJoinMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/playerJoin/IPlayerJoinMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/playerJoin/OutgoingPlayerJoinMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/playerJoin/OutgoingPlayerJoinMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/playerLeave/IPlayerJoinMessage.ts: -------------------------------------------------------------------------------- 1 | export interface IPlayerLeaveMessage { 2 | readonly i: number 3 | } 4 | -------------------------------------------------------------------------------- /src/game/messages/outgoing/playerLeave/OutgoingPlayerJoinMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/playerLeave/OutgoingPlayerJoinMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/room/IRoomJoinMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/room/IRoomJoinMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/room/OutgoingJoinMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/room/OutgoingJoinMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/shop/IShopMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/shop/IShopMessage.ts -------------------------------------------------------------------------------- /src/game/messages/outgoing/shop/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/messages/outgoing/shop/index.ts -------------------------------------------------------------------------------- /src/game/rooms/IRoom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/rooms/IRoom.ts -------------------------------------------------------------------------------- /src/game/rooms/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/game/rooms/index.ts -------------------------------------------------------------------------------- /src/plugins/bot/Bot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/plugins/bot/Bot.ts -------------------------------------------------------------------------------- /src/plugins/bot/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/plugins/bot/index.ts -------------------------------------------------------------------------------- /src/plugins/npc/Mike.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/plugins/npc/Mike.ts -------------------------------------------------------------------------------- /src/plugins/npc/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/plugins/npc/index.ts -------------------------------------------------------------------------------- /src/shared/PluginManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/shared/PluginManager.ts -------------------------------------------------------------------------------- /src/shared/builders/response/BaseApiResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/shared/builders/response/BaseApiResponse.ts -------------------------------------------------------------------------------- /src/shared/builders/response/ErrorResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/shared/builders/response/ErrorResponse.ts -------------------------------------------------------------------------------- /src/shared/builders/response/SuccessResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/shared/builders/response/SuccessResponse.ts -------------------------------------------------------------------------------- /src/types/PlayerSocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/types/PlayerSocket.ts -------------------------------------------------------------------------------- /src/types/Type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/src/types/Type.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sxip/critters/HEAD/yarn.lock --------------------------------------------------------------------------------