Difference between revisions of "KClientSession"

From 3dbrew
Jump to navigation Jump to search
(Undo revision 17940 by Neobrain (talk))
(Undo revision 17960 by Bond697 (talk))
Line 11: Line 11:
 
|-
 
|-
 
| 0x0
 
| 0x0
| u32
+
| [[KSynchronizationObject]]
| Pointer to vtable
+
| Base object
|-
 
| 0x4
 
| u32
 
| Reference count
 
|-
 
| 0x8
 
| u32
 
| KLinkedListNode count for object
 
|-
 
| 0xC
 
| KLinkedListNode*
 
| Pointer to first KLinkedListNode in list of KThreads using this client session
 
|-
 
| 0x10
 
| KLinkedListNode*
 
| Pointer to last KLinkedListNode in list of KThreads using this client session
 
 
|-
 
|-
 
| 0x14
 
| 0x14
| KSession*  
+
| [[KSession]]*  
 
| Pointer to parent session
 
| Pointer to parent session
 
|-
 
|-
Line 39: Line 23:
 
|-
 
|-
 
| 0x1C
 
| 0x1C
| KClientPort*  
+
| [[KClientPort]]*  
 
| Pointer to associated client port inside parent KPort
 
| Pointer to associated client port inside parent KPort
 
|}
 
|}

Revision as of 23:00, 22 August 2016

class KClientSession extends KSynchronizationObject;

Size : 0x20 bytes

Offset Type Description
0x0 KSynchronizationObject Base object
0x14 KSession* Pointer to parent session
0x18 u32 Session status
0x1C KClientPort* Pointer to associated client port inside parent KPort

Session status:

1: open
2: closed by client
3: closed by server?