Versions in this module Expand all Collapse all v0 v0.0.2 Aug 4, 2025 v0.0.1 Aug 4, 2025 Changes in this version + const AuthServerAccountTypeCustom + const AuthServerAccountTypeStd + const DefaultPageSize + const EulogistConfigFileName + const StdAuthServerAddress + const StdAuthServerPhoenixAPI + const UserPasswordSlat + const UserPermissionAdmin + const UserPermissionDefault + const UserPermissionManager + const UserPermissionNone + const UserPermissionNormal + const UserPermissionSystem + var GameSavesEncryptKey *rsa.PrivateKey + func EncodeAuthServerAccount(account AuthServerAccount) []byte + func EncodeEulogistUser(user EulogistUser) []byte + func WriteConfig(config *LocalConfig) error + type AllowListConfig struct + CanGetGameSavesKeyCipher bool + DisableOpertorVerify bool + EulogistUserUniqueID string + func (a *AllowListConfig) Marshal(io protocol.IO) + type AuthServerAccount interface + AuthServerAddress func() string + AuthServerSecret func() string + FormatInGame func() string + IsStdAccount func() bool + UpdateData func(newData map[string]any) + func DecodeAuthServerAccount(payload []byte) AuthServerAccount + type CustomAuthServerAccount struct + func (c *CustomAuthServerAccount) AuthServerAddress() string + func (c *CustomAuthServerAccount) AuthServerSecret() string + func (c *CustomAuthServerAccount) FormatInGame() string + func (c *CustomAuthServerAccount) InternalAccountID() uint32 + func (c *CustomAuthServerAccount) IsStdAccount() bool + func (c *CustomAuthServerAccount) UpdateData(newData map[string]any) + type EulogistUser struct + CanAccessAnyRentalServer bool + CanGetGameSavesKeyCipher bool + CanGetHelperToken bool + CurrentAuthServerAccount protocol.Optional[AuthServerAccount] + DisableGlobalOpertorVerify bool + EulogistToken string + InternalIncreasingAccountID uint32 + MultipleAuthServerAccounts []AuthServerAccount + ProvidedPeAuthData string + RentalServerCanManage []string + RentalServerConfig []RentalServerConfig + UnbanUnixTime int64 + UserName string + UserPasswordSum256 []byte + UserPermissionLevel uint8 + UserUniqueID string + func DecodeEulogistUser(payload []byte) (user EulogistUser) + type LocalConfig struct + EulogistToken string + LastServerConfig RentalServerConfig + func DefaultLocalConfig() *LocalConfig + func ReadConfig() (config *LocalConfig, err error) + type RentalServerConfig struct + ServerNumber string + ServerPassCode string + func (r *RentalServerConfig) Marshal(io protocol.IO) + type StdAuthServerAccount struct + func (s *StdAuthServerAccount) AuthServerAddress() string + func (s *StdAuthServerAccount) AuthServerSecret() string + func (s *StdAuthServerAccount) FormatInGame() string + func (s *StdAuthServerAccount) G79UserUID() string + func (s *StdAuthServerAccount) IsStdAccount() bool + func (s *StdAuthServerAccount) UpdateData(newData map[string]any)