Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiiLink WFC-based server support #21

Open
expiteRz opened this issue Aug 13, 2024 · 1 comment
Open

WiiLink WFC-based server support #21

expiteRz opened this issue Aug 13, 2024 · 1 comment
Milestone

Comments

@expiteRz
Copy link
Owner

expiteRz commented Aug 13, 2024

room stats retrievable via https://{somethingdomain}/api/groups

@expiteRz expiteRz added this to the 2.x.x milestone Aug 13, 2024
@expiteRz
Copy link
Owner Author

heres temporary structure for wiimmfi-room-watcher:

type WiiLinkRoom struct {
    Id             string            `json:"id"`
    Game           string            `json:"game"`
    Created        string            `json:"created"`
    Type           string            `json:"type"`
    Suspend        bool              `json:"suspend"`
    RoomHost       string            `json:"host"`
    GameModeRegion string            `json:"rk"`
    Players        map[string]Player `json:"players"`
}

type Player struct {
    Count      string    `json:"count"`
    Pid        string    `json:"pid"`
    Name       string    `json:"name"`
    Status     int       `json:"conn_map,string"`
    ConnFail   int       `json:"conn_fail,string"`
    Suspend    int       `json:"suspend,string"`
    FriendCode string    `json:"fc"`
    VR         int       `json:"ev,string"`
    BR         int       `json:"eb,string"`
    Miis       []MiiData `json:"mii"`
}

type MiiData struct {
    Face string `json:"data"`
    Name string `json:"name"`
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant