This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /blog/posts HTTP 1.1 | |
HOST: example.com | |
Content-Type: application/atom+xml | |
Content-Length: ... | |
<?xml version="1.0"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title> | |
Blog Posts | |
</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Request: | |
OPTIONS /blog/post HTTP 1.1 | |
HOST: example.com | |
The Response: | |
200 OK | |
Allow: POST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum FilePermissions | |
{ | |
None, | |
Read, | |
Write, | |
ReadWrite, | |
Delete, | |
Full | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// represented in binary as 00000000000000000000000000000001 | |
int one = 1; | |
// represented in binary as 00000000000000000000000000000010 | |
int two = 2; | |
// represented in binary as 00000000000000000000000000000011 | |
int three = one | two; | |
// represented in binary as 00000000000000000000000000000100 | |
int four = 4; | |
// represented in binary as 00000000000000000000000000000000 | |
int zero = four & three; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class FilePermissions | |
{ | |
public const int None = 1; | |
public const int Read = 2; | |
public const int Write = 4; | |
public const int ReadWrite = Read | Write; | |
public const int Delete = 8; | |
public const int Full = Read | Write | Delete; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Flags] | |
public enum FilePermissions : uint | |
{ | |
None = 1, | |
Read = 2, | |
Write = 4, | |
ReadWrite = Read | Write, | |
Delete = 8, | |
Full = Read | Write | Delete | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Playnomics.instance.startPlaynomics(<APPLICATION-ID>, <USERT-ID>); | |
Playnomics.instance.startPlaynomics(<APPLICATION-ID>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using PlaynomicsPlugin; | |
public class FirstScene : MonoBehaviour | |
{ | |
void Start() { | |
Playnomics.instance.start(1234567890123456789L, "Z6q3UAtVwcxw35p9y"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PlaynomicsPlugin; | |
function Start () { | |
Playnomics.instance.startPlaynomics(1234567890123456789L); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using PlaynomicsPlugin; | |
using UntiyEngine; | |
public class Scene : MonoBehavior { | |
private MessagingFrame frame; | |
private bool shown; | |
private void Awake(){ | |
MessagingFrame frame = Playnomics.instance.initMessagingFrame(<PLAYNOMICS-FRAME-ID>); | |
//enabled code callbacks, eg PNA |
OlderNewer