Inheritance: ISteamSerializableMessage
Ejemplo n.º 1
0
 internal ChatMemberInfoCallback( SteamClient client, MsgClientChatMemberInfo msg, byte[] payload )
     : base( client )
Ejemplo n.º 2
0
            internal ChatMemberInfoCallback( MsgClientChatMemberInfo msg, byte[] payload )
            {
                ChatRoomID = msg.SteamIdChat;
                Type = msg.Type;

                switch ( Type )
                {
                    case EChatInfoType.StateChange:
                        StateChangeInfo = new StateChangeDetails( payload );
                        break;

                    // todo: handle more types
                }
            }
Ejemplo n.º 3
0
            internal ChatMemberInfoCallback( MsgClientChatMemberInfo msg, byte[] payload )
            {
                ChatRoomID = msg.SteamIdChat;
                Type = msg.Type;

                switch ( Type )
                {
                    case EChatInfoType.StateChange:
                        StateChangeInfo = new StateChangeDetails( payload );
                        break;

                    // todo: handle more types
                    // based off disassembly
                    //   - for InfoUpdate, a ChatMemberInfo object is present
                    //   - for MemberLimitChange, looks like an ignored uint64 (probably steamid) followed
                    //     by an int which likely represents the member limit
                }
            }