chore: structuring
parent
cffeb16fe7
commit
2cac67488e
4 changed files with 114 additions and 11 deletions
79
.gitignore
vendored
Normal file
79
.gitignore
vendored
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
### JetBrains+all template
|
||||||
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||||
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||||
|
|
||||||
|
# User-specific stuff
|
||||||
|
.idea/**/workspace.xml
|
||||||
|
.idea/**/tasks.xml
|
||||||
|
.idea/**/usage.statistics.xml
|
||||||
|
.idea/**/dictionaries
|
||||||
|
.idea/**/shelf
|
||||||
|
|
||||||
|
# AWS User-specific
|
||||||
|
.idea/**/aws.xml
|
||||||
|
|
||||||
|
# Generated files
|
||||||
|
.idea/**/contentModel.xml
|
||||||
|
|
||||||
|
# Sensitive or high-churn files
|
||||||
|
.idea/**/dataSources/
|
||||||
|
.idea/**/dataSources.ids
|
||||||
|
.idea/**/dataSources.local.xml
|
||||||
|
.idea/**/sqlDataSources.xml
|
||||||
|
.idea/**/dynamic.xml
|
||||||
|
.idea/**/uiDesigner.xml
|
||||||
|
.idea/**/dbnavigator.xml
|
||||||
|
|
||||||
|
# Gradle
|
||||||
|
.idea/**/gradle.xml
|
||||||
|
.idea/**/libraries
|
||||||
|
|
||||||
|
# Gradle and Maven with auto-import
|
||||||
|
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||||
|
# since they will be recreated, and may cause churn. Uncomment if using
|
||||||
|
# auto-import.
|
||||||
|
# .idea/artifacts
|
||||||
|
# .idea/compiler.xml
|
||||||
|
# .idea/jarRepositories.xml
|
||||||
|
# .idea/modules.xml
|
||||||
|
# .idea/*.iml
|
||||||
|
# .idea/modules
|
||||||
|
# *.iml
|
||||||
|
# *.ipr
|
||||||
|
|
||||||
|
# CMake
|
||||||
|
cmake-build-*/
|
||||||
|
|
||||||
|
# Mongo Explorer plugin
|
||||||
|
.idea/**/mongoSettings.xml
|
||||||
|
|
||||||
|
# File-based project format
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
out/
|
||||||
|
|
||||||
|
# mpeltonen/sbt-idea plugin
|
||||||
|
.idea_modules/
|
||||||
|
|
||||||
|
# JIRA plugin
|
||||||
|
atlassian-ide-plugin.xml
|
||||||
|
|
||||||
|
# Cursive Clojure plugin
|
||||||
|
.idea/replstate.xml
|
||||||
|
|
||||||
|
# SonarLint plugin
|
||||||
|
.idea/sonarlint/
|
||||||
|
|
||||||
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||||
|
com_crashlytics_export_strings.xml
|
||||||
|
crashlytics.properties
|
||||||
|
crashlytics-build.properties
|
||||||
|
fabric.properties
|
||||||
|
|
||||||
|
# Editor-based Rest Client
|
||||||
|
.idea/httpRequests
|
||||||
|
|
||||||
|
# Android studio 3.1+ serialized cache file
|
||||||
|
.idea/caches/build_file_checksums.ser
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Metadata
|
|
||||||
## Structure
|
|
||||||
|
|
||||||
**Operation Code**: 14
|
|
||||||
|
|
||||||
| Identifier | Datatype | Size in bytes |
|
|
||||||
|--------------|-----------|------------|
|
|
||||||
| Username | String | 20 |
|
|
||||||
| Password |String |32 |
|
|
||||||
|
|
||||||
**Response Packets**: [Login Response](/Packets/Login Response)
|
|
12
Packets/Login-Info.md
Normal file
12
Packets/Login-Info.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Metadata
|
||||||
|
|
||||||
|
## Structure
|
||||||
|
|
||||||
|
**Operation Code**: 11
|
||||||
|
|
||||||
|
| Identifier | Datatype | Size in bytes |
|
||||||
|
|------------|----------|---------------|
|
||||||
|
| Username | String | 20 |
|
||||||
|
| Password | String | 32 |
|
||||||
|
|
||||||
|
**Response Packets**: [Login Response](/Packets/Login Response)
|
23
Packets/Login-Response.md
Normal file
23
Packets/Login-Response.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Metadata
|
||||||
|
|
||||||
|
## Structure
|
||||||
|
|
||||||
|
**Operation Code**: 12
|
||||||
|
|
||||||
|
| Identifier | Datatype | Size in bytes |
|
||||||
|
|-----------------------|----------------|--------------------|
|
||||||
|
| Login Response Reason | byte | 1 |
|
||||||
|
| Unknown Flag | byte | 1 |
|
||||||
|
| Is Game Master Flag | bool | 1 |
|
||||||
|
| Channel amount | unsigned short | 2 |
|
||||||
|
| Server/Channel data | ChannelData | 5 * Channel amount |
|
||||||
|
|
||||||
|
## Subtypes
|
||||||
|
|
||||||
|
### ChannelData
|
||||||
|
|
||||||
|
| Identifier | Datatype | Size in bytes |
|
||||||
|
|------------|----------------|---------------|
|
||||||
|
| Server ID | unsigned short | 2 |
|
||||||
|
| Channel ID | unsigned short | 2 |
|
||||||
|
| Load | byte | 1 |
|
Loading…
Reference in a new issue