Fix multiplayer questing

This fixes an issue with MsgSysCastBinary->MsgSysCastedBinary forwarding
and adds a basic stage-reservation system, allowing for some multiplayer
quests to work.
This commit is contained in:
Andrew Gutekanst
2020-03-08 20:50:27 -04:00
parent e41335b079
commit 615b75d101
4 changed files with 148 additions and 50 deletions

View File

@@ -6,7 +6,9 @@ import (
)
// MsgSysUnreserveStage represents the MSG_SYS_UNRESERVE_STAGE
type MsgSysUnreserveStage struct{}
type MsgSysUnreserveStage struct {
// Contains no fields.
}
// Opcode returns the ID associated with this packet type.
func (m *MsgSysUnreserveStage) Opcode() network.PacketID {
@@ -15,7 +17,7 @@ func (m *MsgSysUnreserveStage) Opcode() network.PacketID {
// Parse parses the packet from binary
func (m *MsgSysUnreserveStage) Parse(bf *byteframe.ByteFrame) error {
panic("Not implemented")
return nil
}
// Build builds a binary packet from the current data.