@@ -18,7 +18,7 @@ if(!PlayFab.settings) {
1818if ( ! PlayFab . _internalSettings ) {
1919 PlayFab . _internalSettings = {
2020 sessionTicket : null ,
21- sdkVersion : "0.14.160411 " ,
21+ sdkVersion : "0.15.160414 " ,
2222 productionServerUrl : ".playfabapi.com" ,
2323 logicServerUrl : null ,
2424
@@ -446,6 +446,24 @@ PlayFab.ServerApi = {
446446 PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/LogEvent" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
447447 } ,
448448
449+ WriteCharacterEvent : function ( request , callback ) {
450+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
451+
452+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/WriteCharacterEvent" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
453+ } ,
454+
455+ WritePlayerEvent : function ( request , callback ) {
456+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
457+
458+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/WritePlayerEvent" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
459+ } ,
460+
461+ WriteTitleEvent : function ( request , callback ) {
462+ if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
463+
464+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Server/WriteTitleEvent" , request , "X-SecretKey" , PlayFab . settings . developerSecretKey , callback ) ;
465+ } ,
466+
449467 AddSharedGroupMembers : function ( request , callback ) {
450468 if ( PlayFab . settings . developerSecretKey == null ) throw "Must have PlayFab.settings.developerSecretKey set to call this method" ;
451469
0 commit comments